// EPropertyIPAddressA.h: interface for the EPropertyIPAddressA class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(ROPERTY_IPADDRESSA_H)
#define ROPERTY_IPADDRESSA_H

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "LibDefine.h"
#include <vector>
#include <string>
#include "EIconTextButtonProperty.h"

class PROPERTY_VIEW_LIB_API EPropertyIPAddressA : public EIconTextButtonProperty
{
public:

    EPropertyIPAddressA(IPropertyHost *pHost, const std::wstring &sName, std::string *pProperty, bool bEnabled);
    virtual ~EPropertyIPAddressA();

protected:

    virtual std::wstring GetTextValue();

    virtual bool OnPropApply();		//return true if anything changed

    //
    // EIconTextButtonProperty
    //
    virtual bool HasEdit();
};

#endif // !defined(ROPERTY_IPADDRESSA_H)
